package com.jic.conf.api.rest;

import com.jic.common.base.vo.RestResult;
import com.jic.conf.request.ProductCommentRequest;
import com.jic.conf.request.rest.CmsModuleAndDataRequest;
import com.jic.conf.request.rest.GetCmsProductListRequest;
import com.jic.conf.response.ProductCommentResponse;
import com.jic.conf.response.rest.CmsGetIndexPageConfResponse;
import com.jic.conf.response.rest.GetCmsProductListResponse;
import com.jic.conf.response.rest.ProductResponseFront;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: wangwenbin
 * @date: 2020-01-09
 * @remark: 前台BBC-Cms接口
 */
public interface CmsModuleRestApi {

    /**
     * 查询首页CMS配置
     * @return
     */
    @PostMapping("/getIndexCmsConf")
    RestResult<CmsGetIndexPageConfResponse> getIndexCmsConf(@RequestBody CmsModuleAndDataRequest cmsModuleAndDataRequest);
    /**
     * 查询CMS商品列表
     */
    @PostMapping("/GetCmsProductList")
    RestResult<List<GetCmsProductListResponse>> getCmsProductList(@RequestBody GetCmsProductListRequest getCmsProductListRequest);

}
